package br.lp2p.commons;

public interface LP2PInternalMessages {
	public static final int SERVER_PORT = 45678;
	public static final int MSG_BUFLEN = 4096; // 1 page
	public static final int SENDL_BUFLEN = 350 * 4096; // 2 pages
	public static final int SENDF_BUFLEN = 350 * 4096; // 120 pages
	public static final char DELIM = '\\';
	public static final byte LP2P_LLIST = 1;
	public static final byte LP2P_LSENDL = 2;
	public static final byte LP2P_LGETU = 3; //TODO: trocar nome de LP2P_LGETU para listU
	public static final byte LP2P_LSENDU = 4;
	public static final byte LP2P_LGET = 5;
	public static final byte LP2P_LSENDF = 6;
	
	public static final byte LP2P_LLIST_NOUSERS_INFO_LEVEL = 0;
	public static final byte LP2P_LLIST_ALLUSERS_INFO_LEVEL = 1;
	
}
